﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SchoolManagement.Forms.Controls
{
    public partial class ControlBuscar : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        private static readonly object ClickBuscarEvent = new object();

        public event EventHandler BuscarClick
        {
            add{Events.AddHandler(ClickBuscarEvent, value);}
            remove { Events.RemoveHandler(ClickBuscarEvent, value); }

        }

     
        protected virtual void OnClickBuscar(EventArgs e)
        {
            EventHandler clickEventDelegate = (EventHandler)Events[ClickBuscarEvent];
            if (clickEventDelegate != null)
            {
                clickEventDelegate(this, e);
            }
        }


        // Method of IPostBackEventHandler that raises change events.
        //
        public void RaisePostBackEvent(string eventArgument)
        {

            OnClickBuscar(new EventArgs());
        }




        protected void ButtonBusqueda_Click(object sender, EventArgs e)
        {

        }

   








    }
}